/* pages/classify/classify.wxss */

.classify-box {
	width: 100vw;
	height: 100%;
	display: flex;
	flex-direction: column;
	overflow: hidden;
}

.classify {
	width: 100%;
	flex: 1;
	overflow: hidden;
	display: flex;
	flex-direction: column;
}

.classify-search-box {
	width: 100%;
	height: 86rpx;
	background: white;
	box-sizing: border-box;
}

.classify-search {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 72rpx;
	background: #f6f6f6;
	border-radius: 40rpx;
	color: #999;
	margin: 0 30rpx;
	font-size: 28rpx;
	line-height: 28rpx;
}

.search-icon {
	font-size: 28rpx;
	color: #999;
	margin-right: 10rpx;
}

.classify-content {
	width: 100%;
	flex: 1;
	overflow: hidden;
	display: flex;
	align-items: flex-start;
}

.classify-left {
	width: 170rpx;
	height: 100%;
	background-color: white;
	overflow-y: auto;
	box-sizing: border-box;
}

.classify-left-inner-1 {
	width: 100%;
	box-sizing: border-box;
	padding: 25rpx 20rpx;
	font-size: 30rpx;
	transition: 0.3s;
}

.classify-left-inner-1>view {
	width: 100%;
	box-sizing: border-box;
	word-break: break-all;
}

.classify-left-check-1 {
	/* background: #ffdfe4; */
	background-color: rgba(var(--primary-rgb-color), 0.15);
	color: black;
	position: relative;
}

.classify-left-check-1::after {
	content: '';
	position: absolute;
	top: 30rpx;
	left: 0;
	width: 4rpx;
	height: 32rpx;
	/* background-color: #ff5c6d; */
	background-color: var(--primary-color);
}

.classify-left-inner-2 {
	width: 100%;
	box-sizing: border-box;
	padding: 0;
	font-size: 0;
	transition: 0.3s;
	overflow: hidden;
	/* background: #feeeef; */
	background-color: rgba(var(--primary-rgb-color), 0.06);
}

.classify-left-inner-2>view {
	min-width: 100%;
	box-sizing: border-box;
	word-break: break-all;
}

.classify-left-inner-show-2 {
	color: #666;
	padding: 25rpx 20rpx;
	font-size: 24rpx;
}

.classify-left-check-2 {
	/* color: #ff5c6d; */
	color: var(--primary-color);
}

.classify-right {
	flex: 1;
	overflow: hidden;
	height: 100%;
	box-sizing: border-box;
	padding: 0;
	background-color: #f6f6f6;
	position: relative;
}

.classify-right-title {
	width: 100%;
	height: 96rpx;
	background-color: white;
	box-sizing: border-box;
	position: relative;
	overflow-x: auto;
	padding-right: 70rpx;
}

.classify-right-title-box {
	height: 96rpx;
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	overflow-x: auto;
}

.classify-right-title-list {
	padding: 10rpx 30rpx;
	white-space: nowrap;
	color: #666;
	font-size: 26rpx;
	border-radius: 6rpx;
	display: flex;
	align-items: center;
}

.classify-right-check-3 {
	/* color: #ff5c6d; */
	color: var(--primary-color);
}

.classify-right-title-icon {
	font-size: 28rpx;
	line-height: 40rpx;
	width: 40rpx;
	height: 100%;
	background-color: white;
	position: absolute;
	top: 0;
	right: 20rpx;
	color: #BBBBBB;
}

.classify-right-class-box {
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 2;
}

.classify-right-class-model {
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.3);
	position: absolute;
	top: 0;
	left: 0;
}

.classify-right-class-model-title {
	width: 100%;
	height: 96rpx;
	display: flex;
	align-items: center;
	justify-content: space-between;
	box-sizing: border-box;
	padding: 0 20rpx;
	background-color: white;
	position: relative;
	z-index: 1;
}

.classify-right-class-model-title>text {
	font-size: 26rpx;
	line-height: 26rpx;
	color: #333;
}

.classify-right-class-model-close-icon {
	font-size: 28rpx;
	line-height: 40rpx;
	color: #BBBBBB;
	width: 40rpx;
	height: 100%;
	position: relative;
	transform: rotateZ(180deg);
}

.classify-right-class-model-content {
	background-color: white;
	width: 100%;
	box-sizing: border-box;
	padding: 0 0 0 20rpx;
	position: relative;
	z-index: 1;
}

.classify-right-class-model-list {
	padding: 20rpx 32rpx;
	font-size: 24rpx;
	color: #666;
	line-height: 24rpx;
	background-color: #f6f6f6;
	border-radius: 6rpx;
	margin: 0 20rpx 20rpx 0;
	display: inline-block;
	vertical-align: top;
}

.classify-right-class-model-list-act {
	/* background-color: #ffdee2; */
	background-color: rgba(var(--primary-rgb-color), 0.15);
	color: #333;
}

.classify-goods-list-box {
	padding: 0 20rpx;
	box-sizing: border-box;
}

.classify-goods-list {
	width: calc(50% - 11rpx);
	margin: 0 0 20rpx;
	display: inline-block;
	position: relative;
	background-color: white;
	box-sizing: border-box;
	border-radius: 10rpx;
	overflow: hidden;
	vertical-align: top;
	padding-bottom: 20rpx;
}

.classify-goods-list:nth-child(2n-1) {
	margin-right: 20rpx;
}

.classify-goods-list:nth-child(1),
.classify-goods-list:nth-child(2) {
	margin-top: 20rpx;
}

.classify-goods-list-img {
	width: 100%;
	height: 262rpx;
	overflow: hidden;
}

.classify-goods-list-img>image {
	width: 100%;
	height: 100%;
}

.classify-goods-list-name {
	width: 100%;
	box-sizing: border-box;
	padding: 6rpx 20rpx;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	font-size: 26rpx;
}

.classify-goods-list-price {
	width: 100%;
	box-sizing: border-box;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	font-size: 26rpx;
	color: #ff3d3d;
	padding-left: 16rpx;
	padding-top: 10rpx;
}

::-webkit-scrollbar {
	display: none;
}

.classify-goods-list-btn {
	position: absolute;
	right: 0;
	bottom: 0rpx;
	font-size: 34rpx;
	color: var(--primary-color);
	padding: 18rpx;
}

.commission {
	background-color: #ffeded;
	box-sizing: border-box;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	font-size: 24rpx;
	color: #333;
	margin: 10rpx 0px 10rpx 8rpx;
	text-align: center;
	padding: 8rpx 2rpx;
	border-radius: 8rpx;
	width: 75%;
}
